import {Link,Outlet} from 'react-router-dom'
import { Layout } from 'antd';

const { Header, Footer, Sider, Content } = Layout;
function Admin() {
    return ( <div>
        <h1>admin页面</h1>
        <nav> 
            <Link to="dash">概览</Link> |    <Link to="order">订单</Link>
        </nav>
        <Outlet></Outlet>
    </div> );
}

export default Admin;